<template>
    <el-table-column align="center" label="文件类型" width="160">
        <template slot-scope="scope">
            <span v-if="scope.row['ext']">{{scope.row['ext']}}</span>
            <span v-else>文件夹</span>
        </template>
    </el-table-column>
</template>

<script>
    export default {
        name: "FileTypeColumn"
    }
</script>

<style scoped>

</style>